package com.hn.kiss.modules.sys.dto;

import com.hn.kiss.modules.sys.entity.Jurisdiction;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
@ToString(callSuper = true)
@ApiModel(value="Jurisdiction对象", description="权限资源树形列表")
public class RoleJurisdictionTreeDTO extends Jurisdiction {
    @ApiModelProperty(value = "角色代码")
    private String roleCode;

    @ApiModelProperty(value = "子权限")
    private List<RoleJurisdictionTreeDTO> children;

}
